﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ActionList1.ascx.cs" Inherits="UserControl_ActionList1" %>
<%--<asp:Button ID="btsave" runat="server" Text="Save" />--%>
<asp:Panel ID="panel" runat="server" Height="400px" ScrollBars="Auto" style="overflow:hidden;">
<asp:GridView ID="grdAction" runat="server" AutoGenerateColumns="False" OnRowDataBound="grdAction_RowDataBound">
    <Columns>
        <asp:TemplateField HeaderText="#" HeaderStyle-Width="30px">
            <ItemTemplate>
                <asp:Label ID="lblIDJobNote" runat="server" Text='<%# Eval("IDJobNote") %>'></asp:Label>
                <asp:HiddenField ID="hirID1" runat="server" />
                <%--<asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("IDBrand") %>'>HyperLink</asp:HyperLink>--%>
            </ItemTemplate>
            <HeaderStyle Width="30px"></HeaderStyle>
            <ItemStyle Width="30px" />
        </asp:TemplateField>
        <%--<asp:BoundField DataField="IDJobNote" HeaderText="#" />--%>
        <%--<asp:BoundField DataField="JobID" HeaderText="Job No" />--%>
        <asp:TemplateField HeaderText="JobID" HeaderStyle-Width="30px">
            <ItemTemplate>
                <asp:Label ID="lblJobID" runat="server" Text='<%# Eval("JobID") %>'></asp:Label>
                <asp:HiddenField ID="hirID" runat="server" />
                <%--<asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("IDBrand") %>'>HyperLink</asp:HyperLink>--%>
            </ItemTemplate>
             <HeaderStyle Width="50px"></HeaderStyle>
            <ItemStyle Width="50px" />
           
        </asp:TemplateField>
        <asp:BoundField DataField="DateEntered" HeaderText="Date Entered" HeaderStyle-Width="100px">
            <ItemStyle Width="100px" />
        </asp:BoundField>
        <asp:TemplateField HeaderText="Date Action">
            <ItemTemplate>
                <%# (Convert.ToDateTime(DateTime.Now).ToString("dd/MM/yyyy"))%>
            </ItemTemplate>
            <ItemStyle Width="80px" VerticalAlign="Middle" HorizontalAlign="Center"></ItemStyle>
            <HeaderStyle Width="80px"></HeaderStyle>
        </asp:TemplateField>
        <asp:BoundField DataField="NoteType" HeaderText="Note Type" HeaderStyle-Width="110px">
            <ItemStyle Width="110px" />
        </asp:BoundField>
        <asp:BoundField DataField="Notes" HeaderText="Notes" HeaderStyle-Width="240px">
            <ItemStyle Width="240px" ForeColor="Blue" />
        </asp:BoundField>
        <asp:BoundField DataField="StatusJobNote" HeaderText="Status Job" HeaderStyle-Width="140px">
            <ItemStyle Width="140px" />
        </asp:BoundField>
        <%--<asp:HyperLinkField DataNavigateUrlFields="JobID" ControlStyle-CssClass="thickbox"  DataNavigateUrlFormatString="~/ActionList.aspx?id={0}&KeepThis=true&TB_iframe=true&height=600&width=960&modal=true"
            HeaderText="Update" Text="Update">
            <ControlStyle CssClass="thickbox"></ControlStyle>
        </asp:HyperLinkField>--%>
        <asp:TemplateField HeaderText="Update" HeaderStyle-Width="55px">
            <ItemTemplate>
                <asp:HyperLink ID="hypStatus" Text="Update" runat="server" CssClass="thickbox" ToolTip="UPDATE STATUS"></asp:HyperLink>
            </ItemTemplate>
            <ItemStyle Width="55px" />
        </asp:TemplateField>
    </Columns>
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
    <HeaderStyle CssClass="grdHeader" />
    <EditRowStyle BackColor="#2461BF" />
    <AlternatingRowStyle CssClass="grdAlternateRow" />
    <PagerSettings PageButtonCount="6" />
    <RowStyle CssClass="grdRow" />
</asp:GridView>
</asp:Panel>
